package com.xyd.model.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.ser.Serializers;
import com.xyd.model.base.BaseEnitity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Schema(description = "用户")
@TableName("sys_user")
@Data
public class SysUser extends BaseEnitity {
    // 序列化Id
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户名")
    @TableField("username")
    private String username;
    @Schema(description = "密码")
    @TableField("password")
    private String password;
    @Schema(description = "姓名")
    @TableField("name")
    private String name;
    @Schema(description = "手机")
    @TableField("phone")
    private String phone;
    @Schema(description = "图像")
    @TableField("head_url")
    private String headUrl;
    @Schema(description = "部门编号")
    @TableField("dept_id")
    private Long deptId;
    @Schema(description = "岗位编号")
    @TableField("post_id")
    private Long postId;
    @Schema(description = "微信")
    @TableField("open_id")
    private String openId;
    @Schema(description = "描述")
    @TableField("description")
    private String description;
    @Schema(description = "状态(1:正常，0:停用)")
    @TableField("status")
    private Integer status;
}
